package com.sale.goods.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sale.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 核销单
 * @Date 23-08-14
 * @Author hl
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("goods_nuclear")
public class GoodsNuclear extends BaseEntity {

    /** id */
    @TableId(value = "nuclear_id")
    private Long nuclearId;

    /** 核销单号 */
    private String nuclearCode;

    /** 核销状态 */
    private String nuclearStatus;

    /** 核销类型 */
    private String nuclearType;

    /** 客户编码 */
    private String  clientCode;

    /** 供应商编码 */
    private String  supplierCode;

    /** 转出客户编码 */
    private String clientCodeOut;

    /** 转人客户编码 */
    private String clientCodeInto;

    /** 转出供应商编码 */
    private String supplierCodeOut;

    /** 转人供应商编码 */
    private String supplierCodeInto;

    /** 核销金额 */
    private BigDecimal nuclearAmount;

    /** 开单日期 */
    private String nuclearTime;

    /**
     * 审核人
     */
    private String examineBy;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:m:ss")
    private Date examineTime;

    /**
     * 备注
     */
    private String remark;

}
